package com.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author gy
 * @date 2022/6/13
 */
@SpringBootApplication
//@EnableScheduling
@EnableAsync //主要是为了扫描范围包下的所有 @Async注解
public class SpringStudyApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringStudyApplication.class,args);
    }
}
